package com.yxqz.manage_cms.dao;

import com.xuecheng.framework.domain.cms.CmsPage;
import org.springframework.data.mongodb.repository.MongoRepository;

public interface CmsPageRepository extends MongoRepository<CmsPage, String> {
    //根据页面名称查询
    CmsPage findByPageName(String pageName);

    //    通过页面名称、站点Id、页面webpath查询CmsPage对象
    CmsPage findByPageNameAndSiteIdAndPageWebPath(String pageName, String SiteId, String PageWebPath);
}
